<!doctype html>



  


<html class="theme-next pisces use-motion">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />












  
  
  <link href="/vendors/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/vendors/font-awesome/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.0.1" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="百度," />








  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.0.1" />






<meta name="description" content="使用mac的朋友如果想从百度网盘下载东西肯定都苦恼过，当初我的办法就是开个虚拟机然后去下，但想下东西还每次开虚拟机还是很不爽的。今天给大家推荐个工具 *aria2*
aria2是什么？aria2 是一款支持多种协议的轻量级命令行下载工具。有以下特性：

多线程连线：aria2 会自动从多个线程下载文件，并充分利用你的带宽；
轻量：运行时不会占用过多资源，根据官方介绍，内存占用通常在 4MB~9MB">
<meta property="og:type" content="article">
<meta property="og:title" content="aira2 - mac百度网盘下载">
<meta property="og:url" content="http://blog.caocode.com/2016/10/14/aira2/index.html">
<meta property="og:site_name" content="项羽大大的博客">
<meta property="og:description" content="使用mac的朋友如果想从百度网盘下载东西肯定都苦恼过，当初我的办法就是开个虚拟机然后去下，但想下东西还每次开虚拟机还是很不爽的。今天给大家推荐个工具 *aria2*
aria2是什么？aria2 是一款支持多种协议的轻量级命令行下载工具。有以下特性：

多线程连线：aria2 会自动从多个线程下载文件，并充分利用你的带宽；
轻量：运行时不会占用过多资源，根据官方介绍，内存占用通常在 4MB~9MB">
<meta property="og:image" content="http://7xnghc.com1.z0.glb.clouddn.com/aria2_1.png">
<meta property="og:image" content="http://7xnghc.com1.z0.glb.clouddn.com/aria22.png">
<meta property="og:image" content="http://7xnghc.com1.z0.glb.clouddn.com/aria2_4.png">
<meta property="og:image" content="http://7xnghc.com1.z0.glb.clouddn.com/aria2_3.png">
<meta property="og:updated_time" content="2016-10-14T02:41:20.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="aira2 - mac百度网盘下载">
<meta name="twitter:description" content="使用mac的朋友如果想从百度网盘下载东西肯定都苦恼过，当初我的办法就是开个虚拟机然后去下，但想下东西还每次开虚拟机还是很不爽的。今天给大家推荐个工具 *aria2*
aria2是什么？aria2 是一款支持多种协议的轻量级命令行下载工具。有以下特性：

多线程连线：aria2 会自动从多个线程下载文件，并充分利用你的带宽；
轻量：运行时不会占用过多资源，根据官方介绍，内存占用通常在 4MB~9MB">
<meta name="twitter:image" content="http://7xnghc.com1.z0.glb.clouddn.com/aria2_1.png">



<script type="text/javascript" id="hexo.configuration">
  var NexT = window.NexT || {};
  var CONFIG = {
    scheme: 'Pisces',
    sidebar: {"position":"left","display":"post"},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: 0,
      author: '博主'
    }
  };
</script>




  <link rel="canonical" href="http://blog.caocode.com/2016/10/14/aira2/"/>

  <title> aira2 - mac百度网盘下载 | 项羽大大的博客 </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  



  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?65de5000df47cefa2d258fc5c482a218";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>








  
  
    
  

  <div class="container one-collumn sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-meta ">
  

  <div class="custom-logo-site-title">
    <a href="/"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">项羽大大的博客</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">一个逗比的Blog</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      

      
    </ul>
  

  
</nav>

 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                aira2 - mac百度网盘下载
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">发表于</span>
            <time itemprop="dateCreated" datetime="2016-10-14T10:40:23+08:00" content="2016-10-14">
              2016-10-14
            </time>
          </span>

          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2016/10/14/aira2/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2016/10/14/aira2/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          

          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <p><code>使用mac的朋友如果想从百度网盘下载东西肯定都苦恼过，当初我的办法就是开个虚拟机然后去下，但想下东西还每次开虚拟机还是很不爽的。今天给大家推荐个工具 *aria2*</code></p>
<h3 id="aria2是什么？"><a href="#aria2是什么？" class="headerlink" title="aria2是什么？"></a>aria2是什么？</h3><p>aria2 是一款支持多种协议的轻量级命令行下载工具。有以下特性：</p>
<ul>
<li><strong>多线程连线：</strong>aria2 会自动从多个线程下载文件，并充分利用你的带宽；</li>
<li><strong>轻量：</strong>运行时不会占用过多资源，根据官方介绍，内存占用通常在 4MB~9MB，使用 BitTorrent 协议，下行速度 2.8MB/s 时 CPU 占用率约 6%；</li>
<li><strong>全功能 BitTorrent 客户端</strong>；</li>
<li><strong>支持 RPC 界面远程控制</strong>（下文重点介绍）。</li>
</ul>
<h3 id="开始吧"><a href="#开始吧" class="headerlink" title="开始吧"></a>开始吧</h3><p>1.dmg下载传送门(这个安装好后会给你配置好环境) <a href="https://github.com/yangshun1029/aria2gui/releases" target="_blank" rel="external">https://github.com/yangshun1029/aria2gui/releases</a> （下载页面中的 dmg 包）</p>
<p>2.还需要下载一个浏览器插件这下源码如谷歌下载后在扩展点开发者模式然后导入插件 <a href="https://github.com/acgotaku/BaiduExporter" target="_blank" rel="external">https://github.com/acgotaku/BaiduExporter</a></p>
<p><img src="http://7xnghc.com1.z0.glb.clouddn.com/aria2_1.png" alt="浏览器插件"></p>
<p><strong>解压压缩包然后打开谷歌扩展勾选开发者导入插件</strong></p>
<p><img src="http://7xnghc.com1.z0.glb.clouddn.com/aria22.png" alt="安装谷歌插件"></p>
<p>最后你还需要一个配置文件我把我的打包好了(<a href="https://pan.baidu.com/s/1qXDo4c0" target="_blank" rel="external">https://pan.baidu.com/s/1qXDo4c0</a>)</p>
<p>需要把里面的<code>aria2c.conf</code>配置文件的下载目录改成你自己的地址</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">#文件保存路径, 默认为当前启动位置 xiangyu 是我的用户名目录你自己定义</span><br><span class="line">dir=/Users/xiangyu/Downloads/baiduyun/</span><br></pre></td></tr></table></figure>
<p>然后准备工作就好了。 </p>
<p>现在我们需要打开终端进入配置文件的目录</p>
<p>然后输入 <code>sh start.sh</code>启用然后我们就可以愉快的下载了</p>
<p><img src="http://7xnghc.com1.z0.glb.clouddn.com/aria2_4.png" alt=""></p>
<p><code>看到上面界面就说明正常了然后去下载的时候这里会有进度</code></p>
<p>说了这么说还没终于要到下载的时候了</p>
<p>打开自己的网盘找到要下载的文件找到<code>导出下载</code>然后点击<code>ARIA2 PRC</code></p>
<p><img src="http://7xnghc.com1.z0.glb.clouddn.com/aria2_3.png" alt="下载"></p>
<p>注：我也是刚玩，马上就发出来了，知道的也不多。如果有什么不好的欢迎大家补充</p>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/百度/" rel="tag">#百度</a>
          
        </div>
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2016/08/30/asynchronous/" rel="next" title="PHP实现异步调用方法研究">
                <i class="fa fa-chevron-left"></i> PHP实现异步调用方法研究
              </a>
            
          </div>

          <div class="post-nav-prev post-nav-item">
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
      <div class="ds-thread" data-thread-key="2016/10/14/aira2/"
           data-title="aira2 - mac百度网盘下载" data-url="http://blog.caocode.com/2016/10/14/aira2/">
      </div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel ">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="http://7xnghc.com1.z0.glb.clouddn.com/logo.jpg"
               alt="项羽大大" />
          <p class="site-author-name" itemprop="name">项羽大大</p>
          <p class="site-description motion-element" itemprop="description">敲敲代码看看电视刷刷微博</p>

        </div>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
            <a href="/archives">
              <span class="site-state-item-count">9</span>
              <span class="site-state-item-name">日志</span>
            </a>
          </div>

          

          
            <div class="site-state-item site-state-tags">
              <a href="/tags">
                <span class="site-state-item-count">8</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/fengci" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://weibo.com/1924817755" target="_blank" title="Weibo">
                  
                    <i class="fa fa-fw fa-weibo"></i>
                  
                  Weibo
                </a>
              </span>
            
          
        </div>

        
        

        
        
          <div class="links-of-blogroll motion-element links-of-blogroll-inline">
            <div class="links-of-blogroll-title">
              <i class="fa  fa-fw fa-globe"></i>
              友情链接
            </div>
            <ul class="links-of-blogroll-list">
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.mrwood.xyz/" title="KIWI的小屋" target="_blank">KIWI的小屋</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://xpal7512.github.io/" title="方寸随心" target="_blank">方寸随心</a>
                </li>
              
            </ul>
          </div>
        

      </section>

      
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">
            
              
            
            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-3"><a class="nav-link" href="#aria2是什么？"><span class="nav-number">1.</span> <span class="nav-text">aria2是什么？</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#开始吧"><span class="nav-number">2.</span> <span class="nav-text">开始吧</span></a></li></ol></div>
            
          </div>
        </section>
      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy;  2015 - 
  <span itemprop="copyrightYear">2016</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">项羽大大</span>
</div>

<div class="powered-by">
  由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Pisces
  </a>
</div>

        

        
      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  



  
  <script type="text/javascript" src="/vendors/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/vendors/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/vendors/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/vendors/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/vendors/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/vendors/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.0.1"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.0.1"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.0.1"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.0.1"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.0.1"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.0.1"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.0.1"></script>



  

  
    
  

  <script type="text/javascript">
    var duoshuoQuery = {short_name:"fengci"};
    (function() {
      var ds = document.createElement('script');
      ds.type = 'text/javascript';ds.async = true;
      ds.id = 'duoshuo-script';
      ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
      ds.charset = 'UTF-8';
      (document.getElementsByTagName('head')[0]
      || document.getElementsByTagName('body')[0]).appendChild(ds);
    })();
  </script>

  
    
    <script src="/vendors/ua-parser-js/dist/ua-parser.min.js?v=0.7.9"></script>
    <script src="/js/src/hook-duoshuo.js"></script>
  






  
  

  

  

  

</body>
</html>
